package com.manager.core.module.manager.entity;

import com.manager.commons.base.BaseEntity;

/**
 * PlatformUserLog（用户日志）
 * 
 * @author H
 * @version 1.0
 */
public class PlatformUserLog extends BaseEntity {

	private static final long serialVersionUID = -2226712638027920671L;

	private String _id;
	/**
	 * 日志摘要
	 */
	private String summary;
	/**
	 * 日志内容
	 */
	private String content;
	/**
	 * 日志类型(rmp：request method post；rmg：request method get；mvp：model view page)
	 */
	private String requestType;
	/**
	 * 
	 */
	private String requestHost;
	/**
	 * 访问class类
	 */
	private String requestClazz;
	/**
	 * 访问class方法
	 */
	private String requestMethod;
	/**
	 * 参数信息
	 */
	private String requestParams;
	/**
	 * 
	 */
	private String userAgent;
	/**
	 * 访问开始时间
	 */
	private String startTime;
	/**
	 * 访问结束时间
	 */
	private String endTime;
	/**
	 * 用户id
	 */
	private String puId;
	/**
	 * 数据创建时间
	 */
	private String createTime;

	public PlatformUserLog() {
	}

	public PlatformUserLog(String _id, String summary, String content, String type, String host, String clazz,
			String method, String params, String startTime, String endTime, String puId) {
		this._id = _id;
		this.summary = summary;
		this.content = content;
		this.requestType = type;
		this.requestHost = host;
		this.requestClazz = clazz;
		this.requestMethod = method;
		this.requestParams = params;
		this.startTime = startTime;
		this.endTime = endTime;
		this.puId = puId;
	}

	public PlatformUserLog(String _id, String summary, String content, String type, String host, String clazz,
			String method, String params, String userAgent, String startTime, String endTime, String puId) {
		this._id = _id;
		this.summary = summary;
		this.content = content;
		this.requestType = type;
		this.requestHost = host;
		this.requestClazz = clazz;
		this.requestMethod = method;
		this.requestParams = params;
		this.userAgent = userAgent;
		this.startTime = startTime;
		this.endTime = endTime;
		this.puId = puId;
	}

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getRequestType() {
		return requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	public String getRequestHost() {
		return requestHost;
	}

	public void setRequestHost(String requestHost) {
		this.requestHost = requestHost;
	}

	public String getRequestClazz() {
		return requestClazz;
	}

	public void setRequestClazz(String requestClazz) {
		this.requestClazz = requestClazz;
	}

	public String getRequestMethod() {
		return requestMethod;
	}

	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}

	public String getRequestParams() {
		return requestParams;
	}

	public void setRequestParams(String requestParams) {
		this.requestParams = requestParams;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public String getPuId() {
		return puId;
	}

	public void setPuId(String puId) {
		this.puId = puId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}